<?php 
/**
 * User-View: `login`
 *
 * PHP versions 4 and 5
 *
 * TutoriumBase (http://tutoriumbase.my-reality.de)
 * Copyright 2012, Miguel Gonzalez (http://my-reality.de)
 *
 *
 * @copyright     Copyright 2012, Miguel Gonzalez (http://my-reality.de)
 * @link          http://tutoriumbase.my-reality.de TutoriumBase
 * @since         TutoriumBase v 0.1
 */
?>

<!-- Anmeldeformular -->
<?php
echo '<div class="box">';

if (isset($caption)) {
  echo $this->Layout->generateMainCaption($caption);
}

echo $form->create('User', array('controller' => 'User', 'action' => 'login'));
echo $form->input('username', array('type' => 'text', 'label' => 'Username'));
echo $form->input('password', array('type' => 'password', 'label' => 'Passwort'));
echo $form->submit('Anmelden', array('class' => 'button_blue form_button')); 
echo '</div>';
?>